package com.chaochis.wind.config.security_config;

import com.chaochis.wind.util.wrapper_http.WindRequestWrapper;
import com.chaochis.wind.util.wrapper_http.WindResponseWrapper;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MobileInterceptor implements HandlerInterceptor  {
  @Override
  public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
    var windRequest = new WindRequestWrapper(request);
    var windResponse = new WindResponseWrapper(response);
    return true;
  }
}
